package com.jjh;

import android.os.Parcel;
import android.os.Parcelable;

public class CheckBean implements Parcelable {


    /**
     * PlanRange : 使用部门
     * date : 2023-12-28 00:00:00
     * num : 0
     * name : 4331
     * createdate : 2023-12-28 10:30:20
     * checkId : 202312280001
     * status : 待盘点
     */

    private String PlanRange;
    private String date;
    private int num;
    private String name;
    private String createdate;
    private long checkId;
    private String status;

    protected CheckBean(Parcel in) {
        PlanRange = in.readString();
        date = in.readString();
        num = in.readInt();
        name = in.readString();
        createdate = in.readString();
        checkId = in.readLong();
        status = in.readString();
    }

    public static final Creator<CheckBean> CREATOR = new Creator<CheckBean>() {
        @Override
        public CheckBean createFromParcel(Parcel in) {
            return new CheckBean(in);
        }

        @Override
        public CheckBean[] newArray(int size) {
            return new CheckBean[size];
        }
    };

    public String getPlanRange() {
        return PlanRange;
    }

    public void setPlanRange(String PlanRange) {
        this.PlanRange = PlanRange;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCreatedate() {
        return createdate;
    }

    public void setCreatedate(String createdate) {
        this.createdate = createdate;
    }

    public long getCheckId() {
        return checkId;
    }

    public void setCheckId(long checkId) {
        this.checkId = checkId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(PlanRange);
        dest.writeString(date);
        dest.writeInt(num);
        dest.writeString(name);
        dest.writeString(createdate);
        dest.writeLong(checkId);
        dest.writeString(status);
    }
}
